package com.dm.cloud.images.common.request;

import com.dm.cloud.core.annotation.Query;
import com.dm.cloud.core.mode.BaseSearchDTO;
import com.dm.cloud.core.enums.QueryEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import io.swagger.v3.oas.annotations.media.Schema;

/**
   * @author hcx
   * @type ImagesAppTaskContainerPageSearch.java
   * @desc ImagesAppTaskContainer
   */

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description ="ImagesAppTaskContainer search")
public class ImagesAppTaskContainerPageSearch extends BaseSearchDTO {

      /** 执行情况:0未执行  1正在执行 2完成 **/ 
      @Schema(description = "执行情况:0未执行  1正在执行 2完成")
      @Query(value = QueryEnum.EQ)
      private Integer status;
      /** 执行结果:0暂无结果 1成功  2异常  3超时 **/ 
      @Schema(description = "执行结果:0暂无结果 1成功  2异常  3超时")
      @Query(value = QueryEnum.EQ)
      private Integer result;
      /** 任务ID **/ 
      @Schema(description = "任务ID")
      @Query(value = QueryEnum.EQ)
      private String taskId;
      /** 容器ID **/ 
      @Schema(description = "容器ID")
      @Query(value = QueryEnum.EQ)
      private String containerId;
      /** 节点ID **/ 
      @Schema(description = "节点ID")
      @Query(value = QueryEnum.EQ)
      private String nodeId;

      @Schema(description = "错误信息")
      @Query(value = QueryEnum.LIKE)
      private String errStr;

}
